A Log(N) Distributed Mutual Exclusion Algorithm Based on Path Reversal

نویسندگان

  • Mohamed Naimi
  • Michel Tréhel
  • André Arnold
چکیده

In this paper, we present a distributed algorithm for mutual exclusion based on path reversal. The algorithm does not use logical clocks to serialize the concurrent events, and all the variables are bounded. When a process invokes a critical section, it sends a request to the tail of a queue. A dynamical rooted tree gives the path to this tail. The algorithm requires only O(Log (n)) messages on average, where n is the number of processes in the network. The performances analysis of the algorithm is based on generating formal power series. Support This work was financed in part by the CNRS: Unité associée 040822 and the C3 co-ordinated research program. Index Terms Distributed algorithm, mutual exclusion, logical rooted tree, distributed variables, Dyck words, Path reversal. * LIB, Faculté des sciences, Route de Gray 25030 BESANCON-CEDEX, FRANCE ** LaBRI , Université BORDEAUX I, 33405 TALENCE-CEDEX, FRANCE

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Analysis of an Efficient Distributed Algorithm for Mutual Exclusion (Average-Case Analysis of Path Reversal)

The algorithm designed in [12, 15] was the very first distributed algorithm to solve the mutual exclusion problem in complete networks by using a dynamic logical tree structure as its basic distributed data structure, viz. a path reversal transformation in rooted n-node trees; besides, it was also the first one to achieve a logarithmic average-case message complexity. The present paper proposes...

متن کامل

Analysis of an E cient Distributed Algorithm for Mutual Exclusion (Average-Case Analysis of Path Reversal)

The algorithm designed in [12, 15] was the very rst distributed algorithm to solve the mutual exclusion problem in complete networks by using a dynamic logical tree structure as its basic distributed data structure, viz. a path reversal transformation in rooted n-node trees ; besides, it was also the rst one to achieve a logarithmic average-case message complexity. The present paper proposes a ...

متن کامل

An Improved Token-Based and Starvation Free Distributed Mutual Exclusion Algorithm

Distributed mutual exclusion is a fundamental problem of distributed systems that coordinates the access to critical shared resources. It concerns with how the various distributed processes access to the shared resources in a mutually exclusive manner. This paper presents fully distributed improved token based mutual exclusion algorithm for distributed system. In this algorithm, a process which...

متن کامل

Implementing Distributed Mutual Exclusion on Multithreaded Environments: The Alien-Threads Approach

We present a simple implementation of a token-based distributed mutual exclusion algorithm for multithreaded systems. Several per-node requests could be issued by threads running at each node. Our algorithm relies on special-purpose alien threads running at host processors on behalf of threads running at other processors. The algorithm uses a tree to route requests for the token. We present a p...

متن کامل

Nonatomic Mutual Exclusion with Local Spinning ∗ ( Extended

We present an N -process local-spin mutual exclusion algorithm, based on nonatomic reads and writes, in which each processperforms Θ(log N) remote memory references to enter and exit its critical section. This algorithm is derived from Yang andAnderson’s atomic tree-based local-spin algorithm in a way that preserves its time complexity. No atomic read/write algorithm with better asympto...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • J. Parallel Distrib. Comput.

دوره 34  شماره 

صفحات  -

تاریخ انتشار 1996